package net.office.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MemorandumExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MemorandumExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andMemorIdIsNull() {
            addCriterion("memor_Id is null");
            return (Criteria) this;
        }

        public Criteria andMemorIdIsNotNull() {
            addCriterion("memor_Id is not null");
            return (Criteria) this;
        }

        public Criteria andMemorIdEqualTo(Integer value) {
            addCriterion("memor_Id =", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdNotEqualTo(Integer value) {
            addCriterion("memor_Id <>", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdGreaterThan(Integer value) {
            addCriterion("memor_Id >", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("memor_Id >=", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdLessThan(Integer value) {
            addCriterion("memor_Id <", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdLessThanOrEqualTo(Integer value) {
            addCriterion("memor_Id <=", value, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdIn(List<Integer> values) {
            addCriterion("memor_Id in", values, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdNotIn(List<Integer> values) {
            addCriterion("memor_Id not in", values, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdBetween(Integer value1, Integer value2) {
            addCriterion("memor_Id between", value1, value2, "memorId");
            return (Criteria) this;
        }

        public Criteria andMemorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("memor_Id not between", value1, value2, "memorId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNull() {
            addCriterion("staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andStaffIdIsNotNull() {
            addCriterion("staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andStaffIdEqualTo(Integer value) {
            addCriterion("staff_Id =", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotEqualTo(Integer value) {
            addCriterion("staff_Id <>", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThan(Integer value) {
            addCriterion("staff_Id >", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_Id >=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThan(Integer value) {
            addCriterion("staff_Id <", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("staff_Id <=", value, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdIn(List<Integer> values) {
            addCriterion("staff_Id in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotIn(List<Integer> values) {
            addCriterion("staff_Id not in", values, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("staff_Id between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_Id not between", value1, value2, "staffId");
            return (Criteria) this;
        }

        public Criteria andAssignDateIsNull() {
            addCriterion("assign_date is null");
            return (Criteria) this;
        }

        public Criteria andAssignDateIsNotNull() {
            addCriterion("assign_date is not null");
            return (Criteria) this;
        }

        public Criteria andAssignDateEqualTo(Date value) {
            addCriterionForJDBCDate("assign_date =", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("assign_date <>", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateGreaterThan(Date value) {
            addCriterionForJDBCDate("assign_date >", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("assign_date >=", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateLessThan(Date value) {
            addCriterionForJDBCDate("assign_date <", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("assign_date <=", value, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateIn(List<Date> values) {
            addCriterionForJDBCDate("assign_date in", values, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("assign_date not in", values, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("assign_date between", value1, value2, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("assign_date not between", value1, value2, "assignDate");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameIsNull() {
            addCriterion("assign_project_name is null");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameIsNotNull() {
            addCriterion("assign_project_name is not null");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameEqualTo(String value) {
            addCriterion("assign_project_name =", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameNotEqualTo(String value) {
            addCriterion("assign_project_name <>", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameGreaterThan(String value) {
            addCriterion("assign_project_name >", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("assign_project_name >=", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameLessThan(String value) {
            addCriterion("assign_project_name <", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameLessThanOrEqualTo(String value) {
            addCriterion("assign_project_name <=", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameLike(String value) {
            addCriterion("assign_project_name like", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameNotLike(String value) {
            addCriterion("assign_project_name not like", value, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameIn(List<String> values) {
            addCriterion("assign_project_name in", values, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameNotIn(List<String> values) {
            addCriterion("assign_project_name not in", values, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameBetween(String value1, String value2) {
            addCriterion("assign_project_name between", value1, value2, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignProjectNameNotBetween(String value1, String value2) {
            addCriterion("assign_project_name not between", value1, value2, "assignProjectName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdIsNull() {
            addCriterion("assign_staff_Id is null");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdIsNotNull() {
            addCriterion("assign_staff_Id is not null");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdEqualTo(Integer value) {
            addCriterion("assign_staff_Id =", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdNotEqualTo(Integer value) {
            addCriterion("assign_staff_Id <>", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdGreaterThan(Integer value) {
            addCriterion("assign_staff_Id >", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("assign_staff_Id >=", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdLessThan(Integer value) {
            addCriterion("assign_staff_Id <", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("assign_staff_Id <=", value, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdIn(List<Integer> values) {
            addCriterion("assign_staff_Id in", values, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdNotIn(List<Integer> values) {
            addCriterion("assign_staff_Id not in", values, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("assign_staff_Id between", value1, value2, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("assign_staff_Id not between", value1, value2, "assignStaffId");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameIsNull() {
            addCriterion("assign_staff_name is null");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameIsNotNull() {
            addCriterion("assign_staff_name is not null");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameEqualTo(String value) {
            addCriterion("assign_staff_name =", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameNotEqualTo(String value) {
            addCriterion("assign_staff_name <>", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameGreaterThan(String value) {
            addCriterion("assign_staff_name >", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("assign_staff_name >=", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameLessThan(String value) {
            addCriterion("assign_staff_name <", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameLessThanOrEqualTo(String value) {
            addCriterion("assign_staff_name <=", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameLike(String value) {
            addCriterion("assign_staff_name like", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameNotLike(String value) {
            addCriterion("assign_staff_name not like", value, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameIn(List<String> values) {
            addCriterion("assign_staff_name in", values, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameNotIn(List<String> values) {
            addCriterion("assign_staff_name not in", values, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameBetween(String value1, String value2) {
            addCriterion("assign_staff_name between", value1, value2, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andAssignStaffNameNotBetween(String value1, String value2) {
            addCriterion("assign_staff_name not between", value1, value2, "assignStaffName");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateIsNull() {
            addCriterion("work_start_date is null");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateIsNotNull() {
            addCriterion("work_start_date is not null");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateEqualTo(Date value) {
            addCriterionForJDBCDate("work_start_date =", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("work_start_date <>", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateGreaterThan(Date value) {
            addCriterionForJDBCDate("work_start_date >", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_start_date >=", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateLessThan(Date value) {
            addCriterionForJDBCDate("work_start_date <", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_start_date <=", value, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateIn(List<Date> values) {
            addCriterionForJDBCDate("work_start_date in", values, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("work_start_date not in", values, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_start_date between", value1, value2, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkStartDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_start_date not between", value1, value2, "workStartDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateIsNull() {
            addCriterion("work_plan_date is null");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateIsNotNull() {
            addCriterion("work_plan_date is not null");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateEqualTo(Date value) {
            addCriterionForJDBCDate("work_plan_date =", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("work_plan_date <>", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateGreaterThan(Date value) {
            addCriterionForJDBCDate("work_plan_date >", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_plan_date >=", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateLessThan(Date value) {
            addCriterionForJDBCDate("work_plan_date <", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_plan_date <=", value, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateIn(List<Date> values) {
            addCriterionForJDBCDate("work_plan_date in", values, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("work_plan_date not in", values, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_plan_date between", value1, value2, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkPlanDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_plan_date not between", value1, value2, "workPlanDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateIsNull() {
            addCriterion("work_finish_date is null");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateIsNotNull() {
            addCriterion("work_finish_date is not null");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateEqualTo(Date value) {
            addCriterionForJDBCDate("work_finish_date =", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("work_finish_date <>", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateGreaterThan(Date value) {
            addCriterionForJDBCDate("work_finish_date >", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_finish_date >=", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateLessThan(Date value) {
            addCriterionForJDBCDate("work_finish_date <", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("work_finish_date <=", value, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateIn(List<Date> values) {
            addCriterionForJDBCDate("work_finish_date in", values, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("work_finish_date not in", values, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_finish_date between", value1, value2, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkFinishDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("work_finish_date not between", value1, value2, "workFinishDate");
            return (Criteria) this;
        }

        public Criteria andWorkStatusIsNull() {
            addCriterion("work_status is null");
            return (Criteria) this;
        }

        public Criteria andWorkStatusIsNotNull() {
            addCriterion("work_status is not null");
            return (Criteria) this;
        }

        public Criteria andWorkStatusEqualTo(Integer value) {
            addCriterion("work_status =", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusNotEqualTo(Integer value) {
            addCriterion("work_status <>", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusGreaterThan(Integer value) {
            addCriterion("work_status >", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_status >=", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusLessThan(Integer value) {
            addCriterion("work_status <", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusLessThanOrEqualTo(Integer value) {
            addCriterion("work_status <=", value, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusIn(List<Integer> values) {
            addCriterion("work_status in", values, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusNotIn(List<Integer> values) {
            addCriterion("work_status not in", values, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusBetween(Integer value1, Integer value2) {
            addCriterion("work_status between", value1, value2, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("work_status not between", value1, value2, "workStatus");
            return (Criteria) this;
        }

        public Criteria andWorkContentIsNull() {
            addCriterion("work_content is null");
            return (Criteria) this;
        }

        public Criteria andWorkContentIsNotNull() {
            addCriterion("work_content is not null");
            return (Criteria) this;
        }

        public Criteria andWorkContentEqualTo(String value) {
            addCriterion("work_content =", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotEqualTo(String value) {
            addCriterion("work_content <>", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentGreaterThan(String value) {
            addCriterion("work_content >", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentGreaterThanOrEqualTo(String value) {
            addCriterion("work_content >=", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLessThan(String value) {
            addCriterion("work_content <", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLessThanOrEqualTo(String value) {
            addCriterion("work_content <=", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentLike(String value) {
            addCriterion("work_content like", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotLike(String value) {
            addCriterion("work_content not like", value, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentIn(List<String> values) {
            addCriterion("work_content in", values, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotIn(List<String> values) {
            addCriterion("work_content not in", values, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentBetween(String value1, String value2) {
            addCriterion("work_content between", value1, value2, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkContentNotBetween(String value1, String value2) {
            addCriterion("work_content not between", value1, value2, "workContent");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonIsNull() {
            addCriterion("work_overdue_reason is null");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonIsNotNull() {
            addCriterion("work_overdue_reason is not null");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonEqualTo(String value) {
            addCriterion("work_overdue_reason =", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonNotEqualTo(String value) {
            addCriterion("work_overdue_reason <>", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonGreaterThan(String value) {
            addCriterion("work_overdue_reason >", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonGreaterThanOrEqualTo(String value) {
            addCriterion("work_overdue_reason >=", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonLessThan(String value) {
            addCriterion("work_overdue_reason <", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonLessThanOrEqualTo(String value) {
            addCriterion("work_overdue_reason <=", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonLike(String value) {
            addCriterion("work_overdue_reason like", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonNotLike(String value) {
            addCriterion("work_overdue_reason not like", value, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonIn(List<String> values) {
            addCriterion("work_overdue_reason in", values, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonNotIn(List<String> values) {
            addCriterion("work_overdue_reason not in", values, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonBetween(String value1, String value2) {
            addCriterion("work_overdue_reason between", value1, value2, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkOverdueReasonNotBetween(String value1, String value2) {
            addCriterion("work_overdue_reason not between", value1, value2, "workOverdueReason");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultIsNull() {
            addCriterion("work_deal_result is null");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultIsNotNull() {
            addCriterion("work_deal_result is not null");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultEqualTo(String value) {
            addCriterion("work_deal_result =", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultNotEqualTo(String value) {
            addCriterion("work_deal_result <>", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultGreaterThan(String value) {
            addCriterion("work_deal_result >", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultGreaterThanOrEqualTo(String value) {
            addCriterion("work_deal_result >=", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultLessThan(String value) {
            addCriterion("work_deal_result <", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultLessThanOrEqualTo(String value) {
            addCriterion("work_deal_result <=", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultLike(String value) {
            addCriterion("work_deal_result like", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultNotLike(String value) {
            addCriterion("work_deal_result not like", value, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultIn(List<String> values) {
            addCriterion("work_deal_result in", values, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultNotIn(List<String> values) {
            addCriterion("work_deal_result not in", values, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultBetween(String value1, String value2) {
            addCriterion("work_deal_result between", value1, value2, "workDealResult");
            return (Criteria) this;
        }

        public Criteria andWorkDealResultNotBetween(String value1, String value2) {
            addCriterion("work_deal_result not between", value1, value2, "workDealResult");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}